package com.yuxl.ai.embedding.service;

import reactor.core.publisher.Mono;

import java.util.List;

/**
 * @Author : yuxl
 * @create 2025/7/10 下午5:08
 */
public interface EmbeddingApi {
    Mono<float[]> embedding(String text);
    Mono<List<float[]>> embedding(List<String> texts);
}
